home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / perl5 / RPC / XML / Method.pm < prev    next >
Encoding:
Perl POD Document  |  2008-04-10  |  2.1 KB  |  83 lines

  1. ###############################################################################
  2. #
  3. # This file copyright (c) 2001-2008 Randy J. Ray, all rights reserved
  4. #
  5. # See "LICENSE" in the documentation for licensing and redistribution terms.
  6. #
  7. ###############################################################################
  8. #
  9. #   $Id: Method.pm 343 2008-04-09 09:54:36Z rjray $
  10. #
  11. #   Description:    This is now an empty sub-class of RPC::XML::Procedure.
  12. #                   It is given its own file to allow for a minimal manual
  13. #                   page redirecting people to the newer class.
  14. #
  15. #   Functions:      None.
  16. #
  17. #   Libraries:      RPC::XML::Procedure
  18. #
  19. #   Global Consts:  $VERSION
  20. #
  21. #   Environment:    None.
  22. #
  23. ###############################################################################
  24.  
  25. package RPC::XML::Method;
  26.  
  27. use 5.005;
  28. use strict;
  29. use vars qw($VERSION);
  30.  
  31. require RPC::XML::Procedure;
  32.  
  33. @RPC::XML::Method::ISA = qw(RPC::XML::Procedure);
  34. $VERSION = '1.09';
  35.  
  36. 1;
  37.  
  38. __END__
  39.  
  40. =head1 NAME
  41.  
  42. RPC::XML::Method - Object encapsulation of server-side RPC methods
  43.  
  44. =head1 SYNOPSIS
  45.  
  46.     require RPC::XML::Method;
  47.  
  48.     ...
  49.     $method_1 = RPC::XML::Method->new({ name => 'system.identity',
  50.                                         code => sub { ... },
  51.                                         signature => [ 'string' ] });
  52.     $method_2 = RPC::XML::Method->new('/path/to/status.xpl');
  53.  
  54. =head1 DESCRIPTION
  55.  
  56. This package is no longer a distinct, separate entity. It has become an empty
  57. sub-class of B<RPC::XML::Procedure>. Please see L<RPC::XML::Procedure> for
  58. details on the methods and usage.
  59.  
  60. By the time of 1.0 release of this software package, this file will be removed
  61. completely.
  62.  
  63. =head1 LICENSE
  64.  
  65. This module and the code within are released under the terms of the Artistic
  66. License 2.0
  67. (http://www.opensource.org/licenses/artistic-license-2.0.php). This code may
  68. be redistributed under either the Artistic License or the GNU Lesser General
  69. Public License (LGPL) version 2.1
  70. (http://www.opensource.org/licenses/lgpl-license.php).
  71.  
  72. =head1 SEE ALSO
  73.  
  74. L<RPC::XML::Procedure>
  75.  
  76. =head1 AUTHOR
  77.  
  78. Randy J. Ray <rjray@blackperl.com>
  79.  
  80. =cut
  81.  
  82. __END__
  83.